814024ad2a811f516f641aacc3da8242273266a6,patching/src/test/java/org/jboss/as/patching/runner/CumulativePatchTestCase.java,CumulativePatchTestCase,testApplyCumulativePatchThenOneOffPatchThenRollbackCumulativePatch,#,218
Before Change
Patch cumulativePatch = PatchBuilder.create()
.setPatchId(culumativePatchID)
.setDescription(randomString())
.setPatchType(PatchType.CUMULATIVE)
.setResultingVersion(info.getVersion() + "-CP")
.addAppliesTo(info.getVersion())
.addContentModification(moduleAdded)
.build();
createPatchXMLFile(cumulativePatchDir, cumulativePatch);
File zippedCumulativePatch = createZippedPatchFile(cumulativePatchDir, culumativePatchID);
After Change
Patch cumulativePatch = PatchBuilder.create()
.setPatchId(culumativePatchID)
.setDescription(randomString())
.setCumulativeType(info.getVersion(), info.getVersion() + "-CP")
.addContentModification(moduleAdded)
.build();
createPatchXMLFile(cumulativePatchDir, cumulativePatch);
File zippedCumulativePatch = createZippedPatchFile(cumulativePatchDir, culumativePatchID);